# -*- coding:utf-8 -*-

import xadmin
from blog.models import Blog

   
class BlogAdmin(object):
    list_display = ('title', 'category', 'date')
    style_fields = {'content': 'ueditor'}
    search_fields = ['title']
    list_filter = ['category']
              
xadmin.site.register(Blog, BlogAdmin)




